import request from '../request.js'
import {
	getBuyURL,
	getFundURL,
	getSellURL
} from '../urls.js'

export default {

	//定期请求
	getBuyMonrys(data) {
		return request({
			url: getBuyURL,
			method: 'POST',
			data
		})
	},

	//渲染
	getFundMoney(data) {
		return request({
			url: getFundURL,
			method: 'POST',
			data
		})
	},

	//转出
	sell(data) {
		return request({
			url: getSellURL,
			method: 'POST',
			data
		})
	}
}
